﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Globalization;
using GeneralLibs;

namespace Portal
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            try
            {
                CultureInfo myCI = (CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();// ("en-US", false);
                myCI.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy";

                System.Threading.Thread.CurrentThread.CurrentCulture = myCI;

                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new FrmPortal());
            }
            catch (Exception ex)
            {
                BasicForms.FrmExceptionNotifier.ShowAndLog(ex);
            }
        }
    }
}
